<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
<link href="__STATIC__/Admin/css/base.css" rel="stylesheet" type="text/css" />
<link href="__STATIC__/Admin/css/right.css" rel="stylesheet" type="text/css">
<link href="__STATIC__/css/page.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="__STATIC__/js/jquery-2.1.1.min.js"></script>
<script src="__STATIC__/js/datejs/laydate.js"></script>

<script>
$(document).ready(function(){
   $(function(){
      $('.rightinfo tbody tr:odd').addClass('odd')
   });
});
function del(){ if(confirm("确定要删除吗？")) {   return true;  }  else  {  return false;  } }
</script>
</head>

<body>
<div class="place"> <span>位置：</span>
  <ul class="placeul">
    <li><a href="{:url('Index/center')}">首页</a></li>
    <li>支付记录</li>
  </ul>
</div>
<div class="rightinfo">
  <div class="tools">
    <ul class="toolbar">
      <li style="background:#FFF; text-indent:1em; border:0">
        <form name="fsoso1" method="post" action="{:url('User/pay')}">
          用户ID <input name="sci" type="text" class="dfinput" style="width:100px" >
          开始时间 <input id="start" name="sktime" type="text" value="" class="dfinput" style="width:140px">
          结束时间 <input id="end" name="sjtime" type="text" value="" class="dfinput" style="width:140px">
          <input name="submit" class="btn" value="查询" type="submit">
        </form>
      </li>
      <!-- <li>&nbsp;收款：<font color="#FF0000">0</font> 元 </li> -->
    </ul>
  </div>
  <table class="tablelist">
    <thead>
      <tr>
        <th>ID</th>
        <th>昵称</th>
        <th>头像</th>
        <th>单号</th>
        <th>支付额(元)</th>
        <th>时间</th>
      </tr>
    </thead>
    <tbody>
    {volist name="list" id="vo"}
        <tr height="40" align="center">
          <td>{$vo['user_id']}</td>
          <td>{$vo['nickname']}</td>
          <td><img src="{$vo['imgurl']}" height="54" width="54"/></td>
          <td>{$vo['order_id']}</td>
          <td>{$vo['money']/100}</td>
          <td>{$vo['create_time']}</td>
        </tr>
    {/volist}
    </tbody>
  </table>
</div>
<div class="pages">
  <a href="{:url('User/pay')}">首页</a>
  {if($prepage>0)}
  <a href="{:url('User/pay?page='.$prepage)}">上一页</a>
  {/if}
  
  {if($nextpage>0)}
  <a href="{:url('User/pay?page='.$nextpage)}">下一页</a>
  {/if}
  
</div>
<div class="pages">
{if($page)}
	<font>共{$page}条数据</font>
	{else}
	<font color='#ff0000'>暂无数据</font>
	{/if}
</div>
<script>
!function(){
	laydate.skin('molv');//切换皮肤，请查看skins下面皮肤库
	var start = {
			  elem: '#start',
			  format: 'YYYY-MM-DD hh:mm:ss',
			  min: '2017-01-01 23:59:59', //设定最小日期为当前日期
			  max: laydate.now(), //最大日期
			  istime: true,
			  istoday: false,
			  choose: function(datas){
			     end.min = datas; //开始日选好后，重置结束日的最小日期
			     end.start = datas //将结束日的初始值设定为开始日
			  }
			};
	var end = {
			  elem: '#end',
			  format: 'YYYY-MM-DD hh:mm:ss',
			  min: '2017-01-01 23:59:59', //设定最小日期为当前日期
			  max: laydate.now(), //最大日期
			  istime: true,
			  istoday: false,
			  choose: function(datas){
			    start.max = datas; //结束日选好后，重置开始日的最大日期
			  }
			};
			laydate(start);
			laydate(end);
}();
</script>

</body>
</html>